/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package StringMethod;

/**
 *
 * @author Mizael
 */
public class metodo7 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String g="hola mundo";
        char a[]=g.toCharArray();
        for(int x=0;x<a.length;x++){
            System.out.println(a[x]);
        }
        //introduce cada caracter de la cadena en un arreglo de tipo char
    }

}
